package pcb.models.events 
{
	import flash.events.Event;
	
	/**
	 * ...
	 * @author Fintan Boyle
	 */
	public class ModelEvent extends Event 
	{
		public static const LOADED:String = "loaded"
		
		public var id:String = "";
		
		public function ModelEvent(type:String, bubbles:Boolean=false, cancelable:Boolean=false) 
		{ 
			super(type, bubbles, cancelable);
			
		} 
		
		public override function clone():Event 
		{ 
			var e:ModelEvent = new ModelEvent(type, bubbles, cancelable);
			e.id = id;
			return e;
		} 
		
		public override function toString():String 
		{ 
			return formatToString("ModelEvent", "type", "bubbles", "cancelable", "eventPhase"); 
		}
		
	}
	
}